﻿using NUnit.Framework;
using Utilities;

namespace UtilitiesTests
{
    [TestFixture]
    public class TitleCaseTests
    {
        [Test]
        public void NameShouldBeMadeTitleCase()
        {
            string test = "MATTHEW ERBS";
            Assert.AreEqual("Matthew Erbs", test.AsTitleCase());
        }
    }
}

//    public class when_titleCase_is_called : behaves_like_string_context
//    {
//        protected override void Because()
//        {
//            _context = "MATTHEW ERBS";
//            _result = _context.AsTitleCase();
//        }

//        [Observation]
//        public void should_return_erbs_with_a_captial_E()
//        {
//            _context.ShouldContain("E");
//        }

//    }

//    [TestFixture]
//    [Concern("Funds transfer")]
//    public abstract class behaves_like_string_context : ContextSpecification
//    {  
//       protected string _context;
//       protected string _result;

//        protected override void Context()
//        {
//            _result = string.Empty;
//            _context = string.Empty;

//        }
//    }

//}